import 'package:json_annotation/json_annotation.dart';

part 'BaseObject.g.dart';

@JsonSerializable()
class BaseObject{
  late String id;
  late String url;
  late String articleTitel;
  late String articleImages;
  late String typeName;
  late String goodsTypeImage;
  late String token;
  late String shopId;


  BaseObject();

  //反序列化
  factory BaseObject.fromJson(Map<String, dynamic> json) => _$BaseObjectFromJson(json);

  //序列化
  Map<String, dynamic> toJson() => _$BaseObjectToJson(this);
}